package com.youi.entity;

import java.util.Date;
import java.io.Serializable;


/**
  *  活动商品信息
 * @author XJY
 */
public class Activitygoods implements Serializable {

	private Long id;							//ID
	private Date gmtCreated;					//创建时间
	private Integer delStatus;					//删除状态（0否 1是）
	private Date gmtModify;					    //最后修改时间
	private Long activityId;				    //活动id
	private Long goodsId;					    //商品id
	private String goodsName;				    //商品名字
	private String goodsImg;					//商品图片
	private String goodsNo;					    //商品编号
	private Integer stockCnt;				    //作弊库存数
	private Integer buyCnt;					    //作弊已售数
	private Double collagePrice;				//内购价
	private Double costPrice;					//市场价
	private Integer disGoodsCnt;			    //配货数
	private Integer realBuyCnt;					//真实购买数
	private Integer realStockCnt;			    //真实库存数
	private Double realCostPrice;			    //成本价
	private Integer sort;						//排序

	private Integer realSaleCnt;				//真实销售数量
	private Integer allStockNum;				//录入库存
	private Double salePrice;					//商品内购价
	private Double marketPrice;					//市场价
	private Integer saleNum;					//已售数量
	
	
    public Activitygoods(){

    }

    public Activitygoods(Long id,Date gmtCreated,Integer delStatus,Date gmtModify) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
    }


    public Activitygoods(Long id,Date gmtCreated,Integer delStatus,Date gmtModify,Long activityId,Long goodsId,String goodsName,String goodsNo,Integer stockCnt,Integer buyCnt,Double collagePrice,Double costPrice,Integer disGoodsCnt,Integer realStockCnt,Double realCostPrice) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
       this.activityId=activityId;
       this.goodsId=goodsId;
       this.goodsName=goodsName;
       this.goodsNo=goodsNo;
       this.stockCnt=stockCnt;
       this.buyCnt=buyCnt;
       this.collagePrice=collagePrice;
       this.costPrice=costPrice;
       this.disGoodsCnt=disGoodsCnt;
       this.realStockCnt=realStockCnt;
       this.realCostPrice=realCostPrice;
    }


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setGmtModify(Date gmtModify){
		this.gmtModify=gmtModify;
	}

	public Date getGmtModify(){
		return gmtModify;
	}

	public void setActivityId(Long activityId){
		this.activityId=activityId;
	}

	public Long getActivityId(){
		return activityId;
	}

	public void setGoodsId(Long goodsId){
		this.goodsId=goodsId;
	}

	public Long getGoodsId(){
		return goodsId;
	}

	public void setGoodsName(String goodsName){
		this.goodsName=goodsName;
	}

	public String getGoodsName(){
		return goodsName;
	}

	public void setGoodsNo(String goodsNo){
		this.goodsNo=goodsNo;
	}

	public String getGoodsNo(){
		return goodsNo;
	}

	public void setStockCnt(Integer stockCnt){
		this.stockCnt=stockCnt;
	}

	public Integer getStockCnt(){
		return stockCnt;
	}

	public void setBuyCnt(Integer buyCnt){
		this.buyCnt=buyCnt;
	}

	public Integer getBuyCnt(){
		return buyCnt;
	}

	public void setCollagePrice(Double collagePrice){
		this.collagePrice=collagePrice;
	}

	public Double getCollagePrice(){
		return collagePrice;
	}

	public void setCostPrice(Double costPrice){
		this.costPrice=costPrice;
	}

	public Double getCostPrice(){
		return costPrice;
	}

	public void setDisGoodsCnt(Integer disGoodsCnt){
		this.disGoodsCnt=disGoodsCnt;
	}

	public Integer getDisGoodsCnt(){
		return disGoodsCnt;
	}

	public void setRealStockCnt(Integer realStockCnt){
		this.realStockCnt=realStockCnt;
	}

	public Integer getRealStockCnt(){
		return realStockCnt;
	}

	public void setRealCostPrice(Double realCostPrice){
		this.realCostPrice=realCostPrice;
	}

	public Double getRealCostPrice(){
		return realCostPrice;
	}

	public String getGoodsImg() {
		return goodsImg;
	}

	public void setGoodsImg(String goodsImg) {
		this.goodsImg = goodsImg;
	}

	public Integer getRealBuyCnt() {
		return realBuyCnt;
	}

	public void setRealBuyCnt(Integer realBuyCnt) {
		this.realBuyCnt = realBuyCnt;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Integer getRealSaleCnt() {
		return realSaleCnt;
	}

	public void setRealSaleCnt(Integer realSaleCnt) {
		this.realSaleCnt = realSaleCnt;
	}

	public Integer getAllStockNum() {
		return allStockNum;
	}

	public void setAllStockNum(Integer allStockNum) {
		this.allStockNum = allStockNum;
	}

	public Double getSalePrice() {
		return salePrice;
	}

	public void setSalePrice(Double salePrice) {
		this.salePrice = salePrice;
	}

	public Double getMarketPrice() {
		return marketPrice;
	}

	public void setMarketPrice(Double marketPrice) {
		this.marketPrice = marketPrice;
	}

	public Integer getSaleNum() {
		return saleNum;
	}

	public void setSaleNum(Integer saleNum) {
		this.saleNum = saleNum;
	}




}
